import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import {DbModule} from "@app/db";
import {SysDepartPermissionModule} from "./sys_depart_permission/sys_depart_permission.module";
import {SysUserRoleModule} from "./sys_user_role/sys_user_role.module";
import {SysUserDepartModule} from "./sys_user_depart/sys_user_depart.module";
import {SysPermissionModule} from "./sys_permission/sys_permission.module";
import {SysUserModule} from "./sys_user/sys_user.module";
import {SysRoleModule} from "./sys_role/sys_role.module";
import {SysDepartModule} from "./sys_depart/sys_depart.module";
import {SysRolePermissionModule} from "./sys_role_permission/sys_role_permission.module";
import { SysCommentModule } from './sys_comment/sys_comment.module';
import { ApprovalNodeModule } from './approval_node/approval_node.module';
import { ApprovalNotifyModule } from './approval_notify/approval_notify.module';
import {AuthModule} from "./auth/auth.module";
import {ApprovalModule} from "./approval/approval.module";

@Module({
  imports: [
      DbModule,
      SysUserModule,
      SysUserRoleModule,
      SysUserDepartModule,
      SysRoleModule,
      SysPermissionModule,
      SysRolePermissionModule,
      SysDepartPermissionModule,
      SysDepartModule,
      SysCommentModule,
      ApprovalNodeModule,
      ApprovalNotifyModule,
      AuthModule,
      ApprovalModule,

  ],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule {}
